package com.fyj.feign;
import entity.order.Orders;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "order",path = "/order")
public interface orderFeign {

    /* *
     * @Author: beisheng
     * @Descriprion: 根据用户ID查询订单
     * @Date: 2023/5/12 17:06
     * @Return: common.R
     * @Param: [id]
     */

    @GetMapping("/order/selOrderByUserId")
    List<Orders> selOrderByUserId(Integer id);
}
